package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.PinkoCurrencybasicfieldsLogMapper;
import com.ruoyi.system.domain.PinkoCurrencybasicfieldsLog;
import com.ruoyi.system.service.IPinkoCurrencybasicfieldsLogService;

/**
 * 币种基础字段操作日志Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-06-07
 */
@Service
public class PinkoCurrencybasicfieldsLogServiceImpl implements IPinkoCurrencybasicfieldsLogService 
{
    @Autowired
    private PinkoCurrencybasicfieldsLogMapper pinkoCurrencybasicfieldsLogMapper;

    /**
     * 查询币种基础字段操作日志
     * 
     * @param id 币种基础字段操作日志主键
     * @return 币种基础字段操作日志
     */
    @Override
    public PinkoCurrencybasicfieldsLog selectPinkoCurrencybasicfieldsLogById(Long id)
    {
        return pinkoCurrencybasicfieldsLogMapper.selectPinkoCurrencybasicfieldsLogById(id);
    }

    /**
     * 查询币种基础字段操作日志列表
     * 
     * @param pinkoCurrencybasicfieldsLog 币种基础字段操作日志
     * @return 币种基础字段操作日志
     */
    @Override
    public List<PinkoCurrencybasicfieldsLog> selectPinkoCurrencybasicfieldsLogList(PinkoCurrencybasicfieldsLog pinkoCurrencybasicfieldsLog)
    {
        return pinkoCurrencybasicfieldsLogMapper.selectPinkoCurrencybasicfieldsLogList(pinkoCurrencybasicfieldsLog);
    }

    /**
     * 新增币种基础字段操作日志
     * 
     * @param pinkoCurrencybasicfieldsLog 币种基础字段操作日志
     * @return 结果
     */
    @Override
    public int insertPinkoCurrencybasicfieldsLog(PinkoCurrencybasicfieldsLog pinkoCurrencybasicfieldsLog)
    {
        return pinkoCurrencybasicfieldsLogMapper.insertPinkoCurrencybasicfieldsLog(pinkoCurrencybasicfieldsLog);
    }

    /**
     * 修改币种基础字段操作日志
     * 
     * @param pinkoCurrencybasicfieldsLog 币种基础字段操作日志
     * @return 结果
     */
    @Override
    public int updatePinkoCurrencybasicfieldsLog(PinkoCurrencybasicfieldsLog pinkoCurrencybasicfieldsLog)
    {
        return pinkoCurrencybasicfieldsLogMapper.updatePinkoCurrencybasicfieldsLog(pinkoCurrencybasicfieldsLog);
    }

    /**
     * 批量删除币种基础字段操作日志
     * 
     * @param ids 需要删除的币种基础字段操作日志主键
     * @return 结果
     */
    @Override
    public int deletePinkoCurrencybasicfieldsLogByIds(Long[] ids)
    {
        return pinkoCurrencybasicfieldsLogMapper.deletePinkoCurrencybasicfieldsLogByIds(ids);
    }

    /**
     * 删除币种基础字段操作日志信息
     * 
     * @param id 币种基础字段操作日志主键
     * @return 结果
     */
    @Override
    public int deletePinkoCurrencybasicfieldsLogById(Long id)
    {
        return pinkoCurrencybasicfieldsLogMapper.deletePinkoCurrencybasicfieldsLogById(id);
    }
}
